package com.zsrt.java.day20161226.zzd.demo3;

import java.util.Scanner;

public class ZhangSanTest5 {
	public static void demo03(String grade){
		switch(grade){
  	    case "A":System.out.println("优秀"); break;
  	    case "B":System.out.println("良好"); break;
  	    case "C":System.out.println("一般"); break;
  	    default:System.out.println("有问题"); break;
    }
	}
	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
  	    System.out.println("请输入你的成绩：");
  	    String grade=sc.next();
  	    demo03(grade);
  	    sc.close();
	}

}
